package dao;

import Customer.Customer;
import Customer.LicenceCustomer;
import Licence.LicenceSoftware;
import Licence.Software;
import entity.Customerorder;
import java.util.Collection;
import java.util.Date;

/**
 * @author Human Booster
 * @version 1.0 @created 29-juin-2012 15:53:55
 */
public interface ICustomerDaoCustomer {

    /**
     *
     * @return
     */
    public Collection<LicenceCustomer> showLicencesCustomer();
    
    /**
     * 
     * @return 
     */
    public Customerorder createCustomerOrder();

    /**
     * 
     * @param customerOrder
     * @param licenceCustomer
     * @return 
     */
    public Collection<LicenceCustomer> addLicenceCustomerToCustomerOrder(Customerorder customerOrder, LicenceCustomer licenceCustomer);

    /**
     * 
     * @param customerOrder
     * @return 
     */
    public Customerorder finalizeCustomerOrder(Customerorder customerOrder);

    /**
     * 
     * @param serial
     * @return 
     */
    public LicenceCustomer getLicenceCustomerBySerial(String serial);

    /**
     *
     * @param idSoftware
     * @return
     */
    public Collection<LicenceSoftware> showLicencesById(int idSoftware);
}